package com.demo.service;

import com.demo.model.User;

public class HelloServiceImpl implements HelloService {
    @Override
    public String hello() {
        return "Hello World!";
    }

    @Override
    public User getUser(Integer id) {
        User user = new User();
        user.setId(id);
        user.setName("Jack");
        return user;
    }
}
